﻿namespace DoNet.WechatPay.V2.Entitys.Results
{
    public class DownloadBillResult
    {
        /// <summary>
        /// 返回状态码
        /// 是
        /// FAIL
        /// </summary>
        public string return_code { set; get; } = string.Empty;
        /// <summary>
        /// 返回信息
        /// 否
        /// 返回信息，如非空，为错误原因 签名失败 参数格式校验错误
        /// </summary>
        public string return_msg { set; get; } = string.Empty;
        /// <summary>
        /// 错误代码
        /// 否
        /// 失败错误码，详见错误码列表
        /// </summary>
        public string err_code { set; get; } = string.Empty;
        /// <summary>
        /// 文件流
        /// </summary>
        public byte[]? file_bytes { set; get; } = null;
    }
}
